interface FormItemProps {
  id: number;
  dealerId: number;
  tenantId: number;
  name: string;
  eventId: number;
  mainType: number;
  subType: number;
  source: number;
  params: string;
  targets: number;
  comment: string;
}

interface FormProps {
  formInline: FormItemProps;
  title: string; // 用于表单标题
  eventOptions: Array<{ value: number; label: string }>;
  userOptions: Array<{ value: number; label: string }>;
}

export type { FormItemProps, FormProps };

export interface TriggerItem {
  Id: number;
  DealerId: number;
  TenantId: number;
  Name: string;
  EventId: number;
  MainType: number;
  SubType: number;
  Source: number;
  Params: string;
  Targets: number;
  Comment: string;
}
